<extend file='../coomm'/>
<style>
.s_option .hover{
        background: #ff5f5f;
        float: left;
        height: 22px;
        text-align: center;
        color: white;
        padding: 0px 10px;
    }
</style>
<block name="content">
<!--正文-->
<div class="main main-bg"id="main">
    <div class="wrap_1">
        <div class="pos_bread">
            <a href="{{__ROOT__}}">首页</a>
            <i>></i>
            <h1>选表中心</h1>
            <i>></i>
            <foreach from="$fatherData" key="$k" value="$v">
                <a href="{{u('listPage.index',[cid=>$v['cid']])}}">{{$v['cname']}}</a>

                <i>></i>
            </foreach>
        </div>
        <div class="fr v-970-770">
            <div class="search_area areaR_side"id="search_area">
                <div class="hot_keyword">热门搜索：
                    <a name=""href="">名表特卖1.4折起</a>
                    <a href="">正装表</a>
                    <a href="">热销手表</a>
                    <a href="">法表满999减150</a>
                </div>
                <div class="s_result">
                </div>

                <input type="hidden"id="url_ev" value=""/>

                <foreach from="$finalTempAttr" key="$k" value="$v">
                <dl class="s_list " >
                <dt class="s_titile" style="left: 0px; width:82px;">【{{$v['name']}}】:</dt>
                    <?php
                    //变量接收一下 为了不破坏$param
                    $temp = $param;
                    //为了给无限做准备
                    $temp[$k] = 0;
                    ?>
                    <dd>

                        <div class="s_option">
                            <span>
                               <a <if value="$param[$k] == 0">class="hover"</if> href="{{u('index',['cid'=>Q('get.cid'),'param'=>implode('_',$temp)])}}">不限</a>
                            </span>

                            <span>
                               <foreach from="$v['value']" key="$kk" value="$vv">

                                   <?php $temp[$k] = $vv['gtid'] ?>

                                <a <if value="$param[$k] == $vv['gtid']">class="hover"</if> href="{{u('index',['cid'=>Q('get.cid'),'param'=>implode('_',$temp)])}}">{{$vv['gtvalue']}}</a>
                               </foreach>
                            </span>
                        </div>

                        <div class="s_oper">
                            <a onclick=""href="javascript:;"class="choose_more s_btn_border">
                                <span class="c_icon"></span>
                                多选
                            </a>
                        </div>
                    </dd>
                </dl>
                </foreach>
                <div class="s_morepos">
                    <div class="toggle_btn">
                        <span class="text">更多选项</span>
                        <span class="c_icon"></span>
                    </div>
                </div>
            </div>
            <a href=""class="s_11_banner s_11_list"></a>
            <div class="rmain_con">
                <div class="s_sort_list v-970-770"id="s_sort_list">
                    <div class="s_sort_con1">
                        <a href="javascript:;"onclick='' class="sort_mul fist sort_icon_01 sort_down">综合</a>
                        <a rel="nofollow"href="JavaScript:;"onclick=''class="sort_price sort_icon_02">价格</a>
                        <a rel="nofollow"href="JavaScript:;"onclick=''class="sort_volume sort_icon_01">销量</a>
                        <a rel="nofollow"href="JavaScript:;"onclick=''class="sort_news sort_icon_01">新品</a>
                        <a rel="nofollow"href="JavaScript:;"onclick=''class="sort_sale last sort_icon_02">折扣</a>
                    </div>
                    <div class="s_sort_con2">
                        <a rel="nofollow"title="全网最低，限时抢购"href="JavaScript:;"onclick=''class="checkbox">闪购</a>
                        <a rel="nofollow"title="当日17:00:00点前购买，当日发货"href="JavaScript:;"onclick=''class="checkbox">闪电发货</a>
                        <a rel="nofollow"title="尊享商品折上折优惠"href="JavaScript:;"onclick=''class="checkbox">预售</a>
                        <a rel="nofollow"title="海外购"href="JavaScript:;"onclick=''class="checkbox">海外购</a>
                    </div>
                    <div id="stop_pages">
                        <span class="p_pagesnum">
                            <b class="red">1</b>
                            /259
                        </span>
                        <a href="JavaScript:;" class="p_pre unfouse">上一页</a>
                        <a href="JavaScript:;" class="p_next">下一页</a>
                    </div>
                    <div id="search_goods_list">
                        <ul>
                         <?php if($goodsData==[]){?>
                            <div style="text-align: center ;margin: 20px auto;">
                                 <span style=" font-size: 20px;" >该分类下没有商品</span>
                            </div>
                         <?php }else{?>
                          <foreach from="$goodsData" key="$k" value="$v">
                              <li>
                                  <dl class="m_goods_list">
                                      <span class="c_11_tips"></span>
                                      <dd>
                                          <a href="{{u('tissot.index',[gid=>$v['gid']])}}" class="q-1">
                                              <foreach from="$v['big']" key='$kk' value='$vv'>
                                                 <img src="{{$vv}}" alt="" class="img_whover lazy">
                                              </foreach>
                                          </a>
                                      </dd>
                                      <dt>
                                      <div class="s_goods_name">
                                          <a href="">{{$v['gname']}}</a>
                                      </div>
                                      <div class="tPrc">
                                          <b class="s_price">￥{{$v['shopprice']}}.00</b>
                                      </div>
                                      <div class="hover_info" >
                                          <a href="">询最低价<em></em></a>
                                          <a href="">
                                              对比
                                              <input type="checkbox"  id="product_836" value="">
                                          </a>
                                          <input type="hidden" name="" id="goods_id" value="836">
                                      </div>
                                      </dt>
                                  </dl>
                              </li>
                          </foreach>

                          <?php }?>
                        </ul>
                </div>
                </div>   
            </div>  
        </div>
        <div class="leftArea_w210">
            <div class="search_clist moulde_side">
                <ul>
                    <li class="search_cmainlist" id="list_type">
                        <h3>
                            <span class="c_icon"> </span>
                            所有类别手表
                        </h3>
                        <ul>
                            <li><a href="" class="on">手表</a></li>
                            <li><a href="">表带/配件</a></li>
                            <li><a href="">珠宝</a></li>
                            <li><a href="">摇表器</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            <div class="moulde_side">
                <div class="moudle_top">
                    <span class="current">热销推荐</span>
                </div>
                <div class="moudle_con">
                    <ul class="s_goods moudle_list">
                        <li>
                            <a href="JavaScript:;" ozrec="48651">
                                <img src="{{__ROOT__}}/resource/img/17411_B19_54079.jpg" alt="" class="">
                                <p>纯正法式品味！法国优雅腕表品牌：赫柏林-Salambo永恒系列无痕时光 17411/B19女士石英表</p>
                            </a>
                            <div class="goods_others">
                                <b class="s_price">￥3600</b>
                                <i class="sell_num">已售72</i>
                            </div>
                        </li>
                        <li>
                            <a href="" ozrec="48651">
                                <img src="{{__ROOT__}}/resource/img/17411_B19_54079.jpg" alt="" class=" ">
                                <p>纯正法式品味！法国优雅腕表品牌：赫柏林-Salambo永恒系列无痕时光 17411/B19女士石英表</p>
                            </a>
                            <div class="goods_others">
                                <b class="s_price">￥3600</b>
                                <i class="sell_num">已售72</i>
                            </div>
                        </li>
                        <li>
                            <a href="" ozrec="48651">
                                <img src="{{__ROOT__}}/resource/img/17411_B19_54079.jpg" alt="" class="">
                                <p>纯正法式品味！法国优雅腕表品牌：赫柏林-Salambo永恒系列无痕时光 17411/B19女士石英表</p>
                            </a>
                            <div class="goods_others">
                                <b class="s_price">￥3600</b>
                                <i class="sell_num">已售72</i>
                            </div>
                        </li>
                        <li class="last" >
                            <a href="" ozrec="48651">
                                <img src="{{__ROOT__}}/resource/img/17411_B19_54079.jpg" alt="" class="">
                                <p>纯正法式品味！法国优雅腕表品牌：赫柏林-Salambo永恒系列无痕时光 17411/B19女士石英表</p>
                            </a>
                            <div class="goods_others">
                                <b class="s_price">￥3600</b>
                                <i class="sell_num">已售72</i>
                            </div>
                        </li>
                    </ul>

                </div>
             </div> 
        </div> 

    </div>
</div>
<!--正文-->
</block>
